package com.greenhou.executor;

import com.greenhou.pojo.Configuration;
import com.greenhou.pojo.MappedStatement;

import java.sql.SQLException;
import java.util.List;

public interface Executor {
    /**
     * @Description 根据参数查询列表信息
     * @Params [configuration, mappedStatement, params]
     * @return java.util.List<E>
     * @Author yeren
     * @Date 2020/6/15 21:48
     */
    public <E> List<E> query(Configuration configuration, MappedStatement mappedStatement,Object... params) throws SQLException, NoSuchFieldException, ClassNotFoundException, IllegalAccessException, InstantiationException, Exception;
}
